import React from 'react'
import {HasRouter} from 'react-router-dom'
import Login from '../views/Login'
export default function indexRouter() {
  return (
    <div>
        <HasRouter>
            <Route path="/" comments={NewsSandBox}></Route>
            <Route path="/login" comments={Login}></Route>
        </HasRouter>
    </div>
  )
}
